package com.hoshiicloud.payment.service;

import java.io.InputStream;

/**
 * @program: hoshiicloud
 * @description: 证书服务
 * @author: Mr.wu
 * @create: 2019-06-06 09:56
 **/
public interface CertificateService {

    /**
     * @param bucketName
     * @param objectKey
     * @return java.io.InputStream
     * @author: Mr.wu
     * @descripton: 根据存储空间名称和对象名称获取证书文件输入流
     * @date: 10:04 2019/6/6
     */
    InputStream getCert(String bucketName, String objectKey) throws Exception;
}
